#ifndef __CCSRECEIVEPROCESS_H__
#define __CCSRECEIVEPROCESS_H__
#include "stm32f7xx_hal.h"

//init
#define CCS_ReportInitRes_ID				0x71//GQ
#define CCS_ReportInitRes_Len				32 	//GQ
//AllStop
#define CCS_AllStopRes_ID					0x7E//GQ
#define CCS_AllStopRes_Len					4 	//GQ
//ReportState
#define CCS_ReportStateRes_ID				0x75//GQ
#define CCS_ReportStateRes_Len				4	//GQ
//SessionSetup
#define CCS_SessionSetupReq_ID				0x02//GQ
#define CCS_SessionSetupReq_Len				12	//GQ
//ServiceDiscovery
#define CCS_ServiceDiscoveryReq_ID			0x03//GQ
#define CCS_ServiceDiscoveryReq_Len			4	//GQ
//ServicePaymentSelection
#define CCS_PaymentSelectionReq_ID			0x05//GQ
#define CCS_PaymentSelectionReq_Len			8	//GQ
//ContractAuthentication
#define CCS_ContractAuthenticationReq_ID	0x07//GQ
#define CCS_ContractAuthenticationReq_Len	0 	//GQ
//ChargeParameterDiscovery
#define CCS_ChargeParameterDiscoveryReq_ID	0x08//GQ
#define CCS_ChargeParameterDiscoveryReq_Len	36 	//GQ For normal operation
#define CCS_ChargeParameterDiscoveryReqV2_Len 40//GQ For standard compliance test
//PowerDelivery
#define CCS_PowerDeliveryReq_ID				0x09//GQ
#define CCS_PowerDeliveryReq_Len			104 //GQ
//CableCheck
#define CCS_CableCheckReq_ID				0x0F//GQ
#define CCS_CableCheckReq_Len				8 	//GQ
//PreCharge
#define CCS_PreChargeReq_ID					0x10//GQ
#define CCS_PreChargeReq_Len				16 	//GQ
//CurrentDemand
#define CCS_CurrentDemandReq_ID				0x11//GQ
#define CCS_CurrentDemandReq_Len			40	//GQ
//WeldingDetection
#define CCS_WeldingDetectionReq_ID			0x12//GQ
#define CCS_WeldingDetectionReq_Len			8	//GQ
//SessionStop
#define CCS_SessionStopReq_ID				0x0C//GQ
#define CCS_SessionStopReq_Len				0	//GQ
//ReportSLAC
#define CCS_ReportSLAC_ID					0x72//GQ
#define CCS_ReportSLAC_Len					12	//GQ
//ReportSDP
#define CCS_ReportSDP_ID					0x73//GQ
#define CCS_ReportSDP_Len					8	//GQ
//ReportV2G/CHAdeMO/AC
#define CCS_ReportV2GCHA_ID					0x74//GQ
#define CCS_ReportV2GCHA_Len				4	//GQ

#define RNL_CCS_PLCMSG_MINLEN 	8
#define RNL_CCS_PLCMSG_MAXLEN 	128


#endif  //__CCSRECEIVEPROCESS_H__




